/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/15/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfprojectpilot.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;

/**
 * 
 * Description:YfProjectPilot实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/15/2012
 * 
 */
@Entity
@Table(name = "yf_project_pilot")
public class YfProjectPilot implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProjectPilot() {

	}

	@Id
	@Column(name = "id")
	private String id; // $field.label

	@Column(name = "project_no")
	private String projectNo; // $field.label

	@Column(name = "deve_manager")
	private String deveManager; // $field.label

	@Column(name = "pilot_name")
	private String pilotName; // $field.label

	@Column(name = "test_type")
	private Long testType; // $field.label

	@Column(name = "participant")
	private String participant; // $field.label

	@Column(name = "pilot_result")
	private String pilotResult; // $field.label

	@Column(name = "audit_status")
	private Long auditStatus; // $field.label

	@Column(name = "process_id")
	private String processId; // $field.label

	@Column(name = "operateid",updatable=false)
	private String operateid; // $field.label

	@Column(name = "create_date")
	private Date createDate; // $field.label
	
	@Transient
	private String projectName;
	@Transient
	private String projectOrg;
	@Transient
	private String projectOrgName;
	@Transient
	private Long projectType;
	@Transient
	private String workItemId;
	@Transient
	private String projectManager;
	
	@Transient
	private String rname;
	

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectOrg() {
		return projectOrg;
	}

	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	public Long getProjectType() {
		return projectType;
	}

	public void setProjectType(Long projectType) {
		this.projectType = projectType;
	}

	public String getWorkItemId() {
		return workItemId;
	}

	public void setWorkItemId(String workItemId) {
		this.workItemId = workItemId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectNo.
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the DeveManager.
	 */
	public String getDeveManager() {
		return this.deveManager;
	}

	/**
	 * @param deveManager
	 *            Set the deveManager.
	 */
	public void setDeveManager(String deveManager) {
		this.deveManager = deveManager;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the PilotName.
	 */
	public String getPilotName() {
		return this.pilotName;
	}

	/**
	 * @param pilotName
	 *            Set the pilotName.
	 */
	public void setPilotName(String pilotName) {
		this.pilotName = pilotName;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the TestType.
	 */
	public Long getTestType() {
		return this.testType;
	}

	/**
	 * @param testType
	 *            Set the testType.
	 */
	public void setTestType(Long testType) {
		this.testType = testType;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Participant.
	 */
	public String getParticipant() {
		return this.participant;
	}

	/**
	 * @param participant
	 *            Set the participant.
	 */
	public void setParticipant(String participant) {
		this.participant = participant;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the PilotResult.
	 */
	public String getPilotResult() {
		return this.pilotResult;
	}

	/**
	 * @param pilotResult
	 *            Set the pilotResult.
	 */
	public void setPilotResult(String pilotResult) {
		this.pilotResult = pilotResult;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the AuditStatus.
	 */
	public Long getAuditStatus() {
		return this.auditStatus;
	}

	/**
	 * @param auditStatus
	 *            Set the auditStatus.
	 */
	public void setAuditStatus(Long auditStatus) {
		this.auditStatus = auditStatus;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProcessId.
	 */
	public String getProcessId() {
		return this.processId;
	}

	/**
	 * @param processId
	 *            Set the processId.
	 */
	public void setProcessId(String processId) {
		this.processId = processId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getProjectManager() {
		return projectManager;
	}

	public void setProjectManager(String projectManager) {
		this.projectManager = projectManager;
	}

	public String getProjectOrgName() {
		return projectOrgName;
	}

	public void setProjectOrgName(String projectOrgName) {
		this.projectOrgName = projectOrgName;
	}
}
